package day04;

import java.util.Scanner;

public class txt9 {
    public static void main(String[] args) {
        Scanner s=new Scanner(System.in);
        for (int i=1;i<=10;i++){
            double scroe=s.nextDouble();
            if(scroe<=100&&scroe>=85){
                System.out.println("优秀");
            }else if (scroe<=85&&scroe>=70){
                System.out.println("良好");
            }else if (scroe<=70&&scroe>=60){
                System.out.println("中等");
            }else  if (scroe<=60&&scroe>=0){
                System.out.println("不及格");
            }else {
                System.out.println("输入错误");
            }

        }

    }
}
